package com.gy.api.pc.content.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class BannerVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "bannerId")
    private String id;
    @ApiModelProperty(value = "banner名称")
    private String bannerName;
    @ApiModelProperty(value = "区域")
    private String areaUrl;
    @ApiModelProperty(value = "位置 1首页顶部 2电影创作页顶部 3影视拍摄页顶部 4影视拍摄中部（VR堪景）5影院放映页顶部 6惠民电影页顶部")
    private String location;
    @ApiModelProperty(value = "是否置顶 （0代表不置顶 1代表置顶）")
    private String isTopped;
    @ApiModelProperty(value = "banner类型 （0:景资源 1:服化道资源 2:专题页 3:电影 4:内部链接 5:外部链接 6:无跳转）")
    private String bannerType;
    @ApiModelProperty(value = "bannerUrl")
    private String bannerUrl;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
}
